package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * (OrderDetails)表实体类
 *
 * @author makejava
 * @since 2024-09-01 20:15:16
 */
@TableName("order_details")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetails implements Serializable {


    @TableId(value = "order_detail_id", type = IdType.AUTO)
    private Integer orderDetailId;//主键

    private Integer orderId;//订单id

    private Integer productId;//商品id

    private Integer quantity;//数量

    private Double productPrice;//商品价格

}

